Skip to main content

mobileEnablePurchaseUpdates

Type​

command

Summary​

Enables the receipt of purchaseStateUpdate messages

Syntax​

mobileEnablePurchaseUpdates

Description​

Use the mobileEnablePurchaseUpdates command to enable the receipt of purchaseStateUpdate messages.

Throughout the purchase process the App Store sends purchaseStateUpdate messages to your app which report any changes in the status of active purchases. The mobileEnablePurchaseUpdates command enables the receipt of purchaseStateUpdate messages.

Examples​

if tMonitorPurchases is true then
mobileEnablePurchaseUpdates
end if

command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, iphoneRequestProductDetails, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobilePurchaseCreate

function: mobilePurchaseState, mobilePurchaseError, mobileCanMakePurchase, mobilePurchaseGet, mobilePurchases

message: purchaseStateUpdate

Compatibility and Support​

Introduced

LiveCode 5.0.1

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?